<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>登录页面</title>
</head>
<body>
	<form action="<%=basePath %>MemberServlet?action=login" method="post">
		<table width="420" height="225" align="center">
			<tr><td>会员名称：</td><td><input type="text" name="name"></td><td></td></tr>
			<tr><td>会员账号：</td><td><input type="text" name="account"></td><td></td></tr>
			<tr><td>会员密码：</td><td><input type="password" name="password"></td><td></td></tr>
			<tr><td>验证码：</td><td><input type="text" name="memberCode"></td></tr>
			<tr><td></td><td><img alt="验证码" src="<%=basePath %>ValicodeServlet"></td></tr>
			<tr><td><input type="submit" value="登录"></td>
				<td><a href=<%=basePath %>pages/regist.jsp>注册</a></td>
			</tr>
			<tr><td>${msg }</td><td></td><td></td></tr>
		</table>
	</form>
</body>
</html>